package com.weng.bigdata.core.websocket.enums;

/**
 * socket类型
 * @author wengzhonghui
 * @date 2019/12/11 9:02
 */
public enum SocketMsgTypeEnum {
    heartbeat("heartbeat","心跳");

    private String type;

    private String name;

    SocketMsgTypeEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
